import request from '@/utils/request'

let ProductRelationBrandApi = {

  /*修改*/
  update(data, errorback) {
    return request._post('/supplier/product.product_relation_brand/update', data, errorback);
  },

  /*详情*/
  edit(data, errorback) {
    return request._post('/supplier/product.product_relation_brand/edit', data, errorback);
  },
  /*创建*/
  create(data, errorback) {
    return request._post('/supplier/product.product_relation_brand/create', data, errorback);
  },

  /*删除*/
  delete(data, errorback) {
    return request._post('/supplier/product.product_relation_brand/delete', data, errorback);
  },

  /*列表*/
  list(data, errorback) {
    return request._get('/supplier/product.product_relation_brand/index', {page:1,list_rows:10000}, errorback);
  },

}

export default ProductRelationBrandApi;
